home *** CD-ROM | disk | FTP | other *** search
/ Paparazzi!: Tales of Tinseltown / Paparazzi - Tales of Tinseltown (1995)(Activision)(Disc 1 of 2).iso / pprazia2.dir / 00343_Script_343 < prev    next >
Text File  |  1995-05-21  |  1KB  |  49 lines

  1. --Resume button Script 12/9/94
  2. on mouseDown
  3.   put "ResumeBTN" into f
  4.   put "ResumeBTNHL" into fHL
  5.   hiliter 3, f, fHL
  6.   puppetsound "hey.aif"
  7.   updatestage
  8. end
  9.  
  10. on mouseUp
  11.   global gTheDay, gCurrentPlayer, whichplayer, GameOrOptions
  12.   
  13.   WhatDayIsIt
  14.   set the castNum of sprite 3 = cast "ResumeBTN"
  15.   updatestage
  16.   if value(gCurrentplayer) = 0 then 
  17.     set whichplayer = return & return & return & return & return & return &¼
  18.  return & return & return & return & return & return
  19.     put "x" into line 11 of whichplayer
  20.     put "x" into line 12 of whichplayer
  21.   end if
  22.   if value(gCurrentPlayer) = 0 or line 11 of whichplayer = "RIP" ¼
  23. or line 12 of whichplayer = "optRetired" then
  24.     exit
  25.   else
  26.     if GameOrOptions = "Game" then
  27.       optionsOff
  28.       updatestage
  29.       put "" into GameOrOptions
  30.       CheckTheCDResume
  31.       exit
  32.     end if
  33.     
  34.     if GameOrOptions = "Options" then
  35.       put "" into GameOrOptions
  36.       optionsOff
  37.       updatestage
  38.       CheckTheCDResume
  39.       exit
  40.     end if
  41.     
  42.     if GameOrOptions = "" then
  43.       optionsOff
  44.       updatestage
  45.       CheckTheCDResume
  46.       exit
  47.     end if
  48.   end if
  49. end